﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;

namespace DbSharp.Framework.Storage.Export
{
    interface IExportWriter
    {
        void Export(string fileName, object obj, long exportRecordCount);
    }

    class ExportWriterHelper
    {
        public static bool IsRecordset(object obj)
        {
            return (obj is IEnumerable<XElement>);
        }
    }
}
